Page({
  data: {
    content: ''
  },
  // 生命周期函数，监听页面加载
  onShow: function (options) {
    this.getList()
  },

  getList: function () {
    const app = getApp();
    const doQueryHelp = `${app.globalData.baseUrl}/query_help_content/`;
    wx.request({
      url: doQueryHelp, // 替换为你的 API 地址
      method: 'GET',
      // data: queryParams,
      success: (res) => {
        if (res.statusCode === 200 && res.data.code === 200 && res.data.data.content) {
          this.setData({
            content: res.data.data.content
          })
        }
      },
      fail: () => {
        wx.showToast({
          title: '网络错误',
          icon: 'none'
        });
      }
    });
  }

});